package my_collection;public interface MyCollection<E> extends MyIterator{    //获取容器当前大小    int size();    //容器是否为空    boolean isEmpty();    //是否包含某个元素    boolean contains(Object o);    //迭代器    MyIterator<E> iterator();    //把容器转换为一个Object数组    Object[] toArray();}